﻿import java.util.Scanner;

public class code015{
	public static void main(String[] args){
		int base;
	double ga;
	double hra;
	double salaey;
	System.out.println("输入基本工资:");
	Scanner input = new Scanner(System.in);
	base = input.nextInt();

	ga = base * 40/100;
	hra = base * 25/100;
	salaey = base + ga + hra;
	System.out.println("该员工的工资细目为:");
	System.out.println("基本工资为:"+base);
	System.out.println("物价津贴为:"+ga);
	System.out.println("房屋津贴为:"+hra);
	System.out.println("员工薪水是:"+salaey);
	}
}